import http from "@/utils/http.js";

/**
 *  @parms resquest 请求地址 例如：http://192.168.2.203:8088/request/...
 *  @param '/testIp'代表vue-cil中config，index.js中配置的代理
 */

let request = "/testIp/request";

//get请求
export function getListApi(params) {
	return http.get(`${request}/getList.json}`, params);
}
// post请求
export function postFormAPI(params) {
	return http.post(`${resquest}/postForm.json`, params);
}
// put 请求
export function putSomeAPI(params) {
	return http.put(`${resquest}/putSome.json`, params);
}
// delete 请求
export function deleteListAPI(params) {
	return http.delete(`${resquest}/deleteList.json`, params);
}
